Skip to content

Update PHPStan packages (major) - autoclosed#754

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-phpstan-packages
Closed

Update PHPStan packages (major) - autoclosed#754
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-phpstan-packages

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 7, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
larastan/larastan ^2.9 -> ^3.0 age adoption passing confidence
phpstan/phpstan-deprecation-rules ^1.1 -> ^2.0 age adoption passing confidence
phpstan/phpstan-phpunit ^1.3 -> ^2.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

larastan/larastan (larastan/larastan)

v3.5.0

Compare Source

What's Changed

Added
Fixed

New Contributors

Full Changelog: larastan/larastan@v3.4.2...v3.5.0

v3.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.4.1...v3.4.2

v3.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.4.0...v3.4.1

v3.4.0

Compare Source

3.4.0

This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽

Features 🚀
Fixes 🐛
Docs 📝

New Contributors

Full Changelog: larastan/larastan@v3.3.1...v3.4.0

v3.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.3.0...v3.3.1

v3.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.2.0...v3.3.0

v3.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.1.0...v3.2.0

v3.1.0

Compare Source

What's Changed

Full Changelog: larastan/larastan@v3.0.4...v3.1.0

v3.0.4

Compare Source

Improvements

Latest PHPStan version compatibility

Full Changelog: larastan/larastan@v3.0.3...v3.0.4

v3.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.0.2...v3.0.3

v3.0.2

Compare Source

What's changed?

Updated minimum required PHPStan version to 2.0.2

Full Changelog: larastan/larastan@v3.0.1...v3.0.2

v3.0.1

Compare Source

What's Changed

Fixed
Internal

Also changes from 2.9.12

New Contributors

Full Changelog: larastan/larastan@v3.0.0...v3.0.1

v3.0.0: 3.0.0

Compare Source

Larastan 3.0 🥳

This release adds compability with PHPStan 2 and drops support for Laravel versions < 11

Please make sure you read the both PHPStan's and Larastan's upgrade guides!

Notable changes:

  • Added support for PHPStan 2
  • Dropped support for Laravel versions <11
  • Dropped support for automatically adding generic return types for relations. Read the upgrade guide for more info.
  • Removed some PHPStan config options. If you want the same behavior as before, you can add them back yourselves.
  • Made some rules enabled by default.
phpstan/phpstan-deprecation-rules (phpstan/phpstan-deprecation-rules)

v2.0.3

Compare Source

  • 468e02c - Remove UsageOfDeprecatedCastRule in favour of it already being implemented in PHPStan via RestrictedMethodUsageExtension
  • ea25caa - Fix UsageOfDeprecatedCastRule - it reported all casts, not just (string)

v2.0.2

Compare Source

  • 9d8e7d4 - Implement RestrictedClassConstantUsageExtension
  • 9e96248 - Implement RestrictedPropertyUsageExtension
  • 3562b56 - Implement RestrictedFunctionUsageExtension
  • ce7a039 - Simplification
  • 223f1ab - Replace TypeHintDeprecated*Rule with RestrictedDeprecatedClassNameUsageExtension
  • 13d3746 - Simplification
  • 09f067c - Fixes
  • e5d941d - Restore original CallToDeprecatedStaticMethodRuleTest
  • 0deffb7 - Implement RestrictedClassNameUsageExtension
  • 15f1d89 - RestrictedMethodUsageExtension is called for static methods too
  • 0494a38 - Take advantage of RestrictedMethodUsageExtension
  • 96f9357 - Update metcalfc/changelog-generator action to v4.6.2
  • 775b713 - Readme: mention custom deprecation attribute
  • adf5e23 - Update metcalfc/changelog-generator action to v4.5.0
  • d3fb1e8 - Update LICENSE

v2.0.1

Compare Source

  • 1cc1259 - Bleeding edge - CallWithDeprecatedIniOptionRule

v2.0.0

Compare Source

  • 81833b5 - Removed always true PHP_VERSION_ID condition
  • f4a969d - Merge branch '1.2.x' into 2.0.x
  • 0ccccb1 - selectSingle() is being deprecated
  • 392bbe7 - Updates for PHPStan 2.0 changes
  • 89572d5 - Merge branch '1.2.x' into 2.0.x
  • 398e2e2 - Merge remote-tracking branch 'origin/1.2.x' into 2.0.x
  • 4590cf6 - Update build-cs
  • 681b2db - Stop testing PHP 7.2 and 7.3
  • 0e1d78a - Open 2.0.x
phpstan/phpstan-phpunit (phpstan/phpstan-phpunit)

v2.0.6

Compare Source

  • 6b92469 - Fix build
  • 0aef32f - Improve logic MockMethodCallRule to search for method even on wrong type

v2.0.5

Compare Source

  • 4d2b44b - InvocationMocker class no longer exists
  • 1f36fc5 - Use DataProvider attribute
  • bf031ae - Test PHPUnit v12
  • 40fbbc1 - chore(deps): update metcalfc/changelog-generator action to v4.5.0
  • 1a07095 - Add non regression test for #​222
  • eb88670 - Always install nikic/php-parser v5
  • 19f8059 - Do not generate code coverage
  • 630aa99 - Remove deprecated assert
  • 342b6c1 - Data providers must be static
  • 846d161 - Test multiple PHPUnit versions
  • 855b82c - Remove config.platform
  • 0f857bf - Introduce phpstan-deprecation-rules
  • 17bbfd3 - Update LICENSE

v2.0.4

Compare Source

  • d09e152 - Fix error message for "assertNotEquals" usage referencing "assertSame" and "assertEquals"

v2.0.3

Compare Source

  • e32ac65 - Support assertNotEquals in AssertEqualsIsDiscouragedRule

v2.0.2

Compare Source

  • 2cedfb7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 10880da - Implement AssertEqualsIsDiscouragedRule (#​216)
  • 4b6ad7f - Fix
  • bec49ea - Merge branch '1.4.x' into 2.0.x
  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x

v2.0.1

Compare Source

  • 4b6ad7f - Fix
  • bec49ea - Merge branch '1.4.x' into 2.0.x
  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x

v2.0.0

Compare Source

  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x
  • 146d9c3 - Test newer PHP versions
  • bb6bec0 - Pin build-cs

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 30 times, most recently from dc37b7e to 1713f14 Compare March 11, 2025 13:03
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 21 times, most recently from ad27cdf to a4830dc Compare March 20, 2025 10:16
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 8 times, most recently from af6f865 to 4da9390 Compare March 25, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants